import { request } from '@/utils';

/**
 * 通用上传请求
 * @param {*} data
 * username
 */
export function upload(data) {
  return request({
    url: '/common/upload',
    method: 'post',
    data,
  });
}
